home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1164 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.1 KB

  1. From: miff@asharak.apana.org.au (michael smith)
  2. Subject: Re: another 1.10 job control bug?
  3. Date: Sun, 06 Mar 94 12:20:40+1030
  4. In-Reply-To: <199403060937.EAA09091@terminator.rs.itd.umich.edu> from ""Nicholas S Castellano" " at Sun, 6 Mar 1994 04:37:17 -0500
  5. Message-Id: <Up-ECGMAJAT@asharak.apana.org.au>
  6. Mime-Version: 1.0
  7. X-Software: Atari UUCP  UPoint light  (22. Jan. '94)
  8.  
  9. In <199403060937.EAA09091@terminator.rs.itd.umich.edu> you wrote :
  10.  
  11. >>Hmm, and it shouldn't be a problem anyway - when DCD drops/the TCP link is
  12. >>closed/or any other 'true' logout action occurs, init should terminate 
  13. >>all processes that claim to have that line as a controlling tty.
  14. >
  15. >I don't think init has enough information to do this.  Under MiNT this
  16. >should be under the kernel's control.  And even if the kernel did
  17. >handle this, it would only apply if the CLOCAL bit were not set in the
  18. >tty flags, and would only have the desired effect if the process
  19. >doesn't ignore SIGHUP (for instance, users should be able to start a
  20. >daemon interactively from the modem1 tty using a non-job-control aware
  21. >shell, then log out, and expect the port not to get locked up.)
  22.  
  23. Firstly, users shouldn't be using non-job-control-aware shells, so we can
  24. toss that one out 8)
  25.  
  26. Yes, correct, if the process is ignoring SIGHUP then it shouldn't go
  27. away, but it _should_ lose the tty.
  28.  
  29. What I mean is this : if I try (output omitted)
  30.  
  31. % frob datafile
  32. ...
  33. ^Z
  34. {% bg}
  35. % logout
  36.  
  37. I would expect to get a message indicating that there are stopped 
  38. {backgrounded} jobs. (probably from the shell being polite)
  39.  
  40. If I were to do :
  41.  
  42. % frob datafile &
  43. % logout
  44.  
  45. Then I would expect to be able to logout and know that frob is running
  46. happily without a tty, and not laying claim to mine.
  47.  
  48. >Cheers,
  49. >entropy
  50.  
  51. Bop me one if I'm barking up the wrong tree here, but once the user
  52. indicates that they're leaving, the tty should be free. If there
  53. are processes that think that it's still theirs, this is a bug.
  54.  
  55.  
  56.  
  57. --
  58. --
  59. mike smith : silicon grease monkey  | If you think it can't be done, |
  60. miff@asharak.apana.org.au           | it means you don't have enough |
  61. miff@apanix.apana.org.au            | money in your budget.          |
  62.  
  63.